package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.PhoneBiz;
import ui.activity.mine.contract.PhoneContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class PhoneModule {
    private PhoneContract.View view;

    public PhoneModule(PhoneContract.View view) {
        this.view = view;
    }

    @Provides
    public PhoneContract.View provideView() {
        return view;
    }

    @Provides
    public PhoneBiz provideBiz() {
        return new PhoneBiz();
    }
}